package com.xj.rpc;

/**
 * Created by xiongjie on 2020/2/23.
 */
public class Client {
    public static void main(String[] args) {
        RpcClient client=new RpcClient();
        CalcService service=client.getProxy(CalcService.class);

        int r1=service.add(1,2);
        int r2=service.minus(10,8);

        System.out.println(r1);
        System.out.println(r2);
    }
}
